﻿namespace WebHoiChoMuaBan.Models
{
    using System;

    public class StringMenu
    {
        public class LEVEL1
        {
            public const string QUAN_LY_ADD_TEMP = "Add temp";
            public const string QUAN_LY_ADMIN = "Quản lý admin";
            public const string QUAN_LY_QUANG_CAO = "Quản lý quảng cáo";
            public const string QUAN_LY_RIENG = "Quản lý riêng";
            public const string QUAN_LY_SAN_PHAM = "Quản lý sản phẩm";
            public const string QUAN_LY_TAO_DANH_MUC = "Tạo danh mục";
            public const string QUAN_LY_THANH_VIEN = "Quản lý tthành viên";
            public const string QUAN_LY_TIN_TUC = "Quản lý tin tức";
        }

        public class LINK
        {
            private string link;
            private string title;

            public LINK(string title, string link)
            {
                this.title = title;
                this.link = link;
            }

            public string Link
            {
                get
                {
                    return this.link;
                }
                set
                {
                    this.link = value;
                }
            }

            public string Title
            {
                get
                {
                    return this.title;
                }
                set
                {
                    this.title = value;
                }
            }
        }

        public class QUAN_LY_ADD_TEMP
        {
            public static int iRight = 1;
        }

        public class QUAN_LY_ADMIN
        {
            public static int iRight = 1;
        }

        public class QUAN_LY_QUANGCAO
        {
            public static StringMenu.LINK DANH_SACH_BANNER = new StringMenu.LINK("DS banner", "/BannerAd/Index");
            public static StringMenu.LINK DANH_SACH_KHACH_HANG = new StringMenu.LINK("Danh sách KH", "/Customer/Index");
            public static int iRight = 7;
            public static StringMenu.LINK TAO_QUANG_CAO = new StringMenu.LINK("Tạo QC", "/BannerAd/CreateBannerAd");
            public static StringMenu.LINK THEM_MOI_KHACH_HANG = new StringMenu.LINK("Thêm mới KH", "/Customer/CreateCustomer");
        }

        public class QUAN_LY_RIENG
        {
            public static int iRight = 1;
        }

        public class QUAN_LY_SAN_PHAM
        {
            public static int iRight = 5;
            public static StringMenu.LINK SAN_PHAM_NOI_BAT = new StringMenu.LINK("Nổi Bật", "/AdminProduct/HotList");
        }

        public class QUAN_LY_TAO_DANH_MUC
        {
            public static int iRight = 5;
        }

        public class QUAN_LY_THANH_VIEN
        {
            public static int iRight = 2;
            public static StringMenu.LINK MAIL = new StringMenu.LINK("Mail", "/Admin/Member/ListAllMember");
            public static StringMenu.LINK THANH_VIEN_BI_KHOA = new StringMenu.LINK("Thành viên bị khóa", "/Admin/Member/ListLockedMember");
            public static StringMenu.LINK THANH_VIEN_MOI = new StringMenu.LINK("Thành viên mới", "/Admin/Member");
            public static StringMenu.LINK THANH_VIEN_VANG = new StringMenu.LINK("Thành viên riêng", "/Admin/Member/ListGoldMember");
        }

        public class QUAN_LY_TIN_TUC
        {
            public static int iRight = 6;
        }
    }
}

